package com.aiwiown.face.domain.verify;

import com.aiwiown.face.ApiObject;
import com.aiwiown.face.domain.compare.RiskAssessment;
import com.aiwiown.face.internal.mapping.ApiField;

/**
 * @ClassName : Verification
 * @Description :
 * @Author : dbin0123
 * @Date: 2020-03-15 18:54
 */
public class Verification extends ApiObject {
    private static final long serialVersionUID = 4765112495531869971L;
    /**
     * KYC验证的综合分数。
     */
    @ApiField("idcard")
    private RiskAssessment idCard;
    /**
     * 活体采集人像与上传的image_ref1的比对结果（仅当get_biz_token中存在image_ref1时返回，返回结果同idcard字段）
     */
    @ApiField("ref1")
    private RiskAssessment ref1;
    /**
     * 活体采集人像与上传的image_ref2的比对结果（仅当get_biz_token中存在image_ref2时返回，返回结果同idcard字段）
     */
    @ApiField("ref2")
    private RiskAssessment ref2;

    public RiskAssessment getIdCard() {
        return idCard;
    }

    public void setIdCard(RiskAssessment idCard) {
        this.idCard = idCard;
    }

    public RiskAssessment getRef1() {
        return ref1;
    }

    public void setRef1(RiskAssessment ref1) {
        this.ref1 = ref1;
    }

    public RiskAssessment getRef2() {
        return ref2;
    }

    public void setRef2(RiskAssessment ref2) {
        this.ref2 = ref2;
    }
}
